/*
 * Copyright (c) 2010 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * Warning! This file is generated. Modify at your own risk.
 */

package com.google.api.services.gan.model;

import com.google.api.client.http.HttpHeaders;
import com.google.api.client.json.GenericJson;
import com.google.api.client.json.JsonString;
import com.google.api.client.util.Key;

/**
 * Model definition for Gan.EventProducts.
 *
 * This class models an object which will be transmitted to or from the Gan service. To reduce the
 * data transferred during service requests, you may remove members that contain data elements that
 * your application does not need.
 *
 * For a detailed explanation, see: <a href="http://code.google.com/p/google-api-java-
 * client/wiki/Json"> http://code.google.com/p/google-api-java-client/wiki/Json</a>
 *
 * @author Google, Inc.
 */
public final class EventProducts extends GenericJson {

  /**
   * Fee that the advertiser paid to the Google Affiliate Network for this product.
   */
  @Key("networkFee")
  private Object networkFee;

  /** Fee that the advertiser paid to the Google Affiliate Network for this product. */
  public Object getNetworkFee() {
    return networkFee;
  }

  /** Fee that the advertiser paid to the Google Affiliate Network for this product. */
  public EventProducts setNetworkFee(Object networkFee) {
    this.networkFee = networkFee;
    return this;
  }
  /**
   * Sku of this product.
   */
  @Key("sku")
  private String sku;

  /** Sku of this product. */
  public String getSku() {
    return sku;
  }

  /** Sku of this product. */
  public EventProducts setSku(String sku) {
    this.sku = sku;
    return this;
  }
  /**
   * Name of the category this product belongs to.
   */
  @Key("categoryName")
  private String categoryName;

  /** Name of the category this product belongs to. */
  public String getCategoryName() {
    return categoryName;
  }

  /** Name of the category this product belongs to. */
  public EventProducts setCategoryName(String categoryName) {
    this.categoryName = categoryName;
    return this;
  }
  /**
   * Sku name of this product.
   */
  @Key("skuName")
  private String skuName;

  /** Sku name of this product. */
  public String getSkuName() {
    return skuName;
  }

  /** Sku name of this product. */
  public EventProducts setSkuName(String skuName) {
    this.skuName = skuName;
    return this;
  }
  /**
   * Fee that the advertiser paid to the publisehr for this product.
   */
  @Key("publisherFee")
  private Object publisherFee;

  /** Fee that the advertiser paid to the publisehr for this product. */
  public Object getPublisherFee() {
    return publisherFee;
  }

  /** Fee that the advertiser paid to the publisehr for this product. */
  public EventProducts setPublisherFee(Object publisherFee) {
    this.publisherFee = publisherFee;
    return this;
  }
  /**
   * Amount earned by the publisher on this product.
   */
  @Key("earnings")
  private Object earnings;

  /** Amount earned by the publisher on this product. */
  public Object getEarnings() {
    return earnings;
  }

  /** Amount earned by the publisher on this product. */
  public EventProducts setEarnings(Object earnings) {
    this.earnings = earnings;
    return this;
  }
  /**
   * Price per unit of this product.
   */
  @Key("unitPrice")
  private Object unitPrice;

  /** Price per unit of this product. */
  public Object getUnitPrice() {
    return unitPrice;
  }

  /** Price per unit of this product. */
  public EventProducts setUnitPrice(Object unitPrice) {
    this.unitPrice = unitPrice;
    return this;
  }
  /**
   * Id of the category this product belongs to.
   */
  @Key("categoryId")
  private String categoryId;

  /** Id of the category this product belongs to. */
  public String getCategoryId() {
    return categoryId;
  }

  /** Id of the category this product belongs to. */
  public EventProducts setCategoryId(String categoryId) {
    this.categoryId = categoryId;
    return this;
  }
  /**
   * Quantity of this product bought/exchanged.
   */
  @Key("quantity") @JsonString
  private Long quantity;

  /** Quantity of this product bought/exchanged. */
  public Long getQuantity() {
    return quantity;
  }

  /** Quantity of this product bought/exchanged. */
  public EventProducts setQuantity(Long quantity) {
    this.quantity = quantity;
    return this;
  }


}
